interface ResponseData {
  code: number
  message: string
  ok: true
}

export interface SkuData {
  category3Id: number | string
  spuId: number | string
  tmId: number | string
  skuName: string
  price: number | string
  weight: number | string
  skuDesc: string
  skuAttrValueList: Array<{ attrId: number | string; valueId: number | string }>
  skuSaleAttrValueList: Array<{
    saleAttrid: number | string
    saleAttrValueId: number | string
  }>
  skuDefaultImg: string
  isSale?: number
  id?: number
}

export interface SkuListByPageResponseData extends ResponseData {
  data: {
    records: SkuData[]
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}
